package com.eshop.we.school.api;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.eshop.we.school.dto.SchoolDto;
import com.eshop.we.school.entity.School;

import java.util.List;

/**
 * <p>
 * 学校 服务类
 * </p>
 *
 * @author anonymity
 * @since 2018-07-06
 */
public interface SchoolService extends IService<School> {

    Page selectSchoolPage(Page<SchoolDto> page, String schoolName);

    List<Integer> searchNearSchools(String lng, String lat, Integer distance);

}
